using System;
using System.Collections.Generic;
using System.Text;
using Decav.Reality;
using System.Collections.ObjectModel;
using System.Net.Mail;

namespace Decav.Gatsb.Mobile
{
    /// <summary>
    /// A message that contains media, such as images, video or sound.
    /// </summary>
    [Serializable]
    public class MmsMessage : MobileMessage
    {
        public MmsMessage(EmailAddress receivingAddress, EmailAddress sendingAddress, PhoneNumber sendingTel, DateTime postTime, string body)
            : base(receivingAddress, sendingAddress, sendingTel, postTime, body)
        {
        }

        private readonly Collection<FileAttachment> _attachments = new Collection<FileAttachment>();

        /// <summary>
        /// Gets a collection of the images and other media attached to the message.
        /// </summary>
        public Collection<FileAttachment> Attachments
        {
            get
            {
                return _attachments;
            }
        }
    }
}
